package com.nuanshui.heatedloan.baseservice.dal.mapper;
import com.nuanshui.heatedloan.baseservice.model.Opinion;
import com.nuanshui.heatedloan.baseservice.vo.CommonConfigVO;
import com.nuanshui.heatedloan.pageable.Pager;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;

import java.util.List;


public interface OpinionMapper {
	
	void saveOpinion(Opinion opinion);

	int updateOpinion(Opinion opinion);

	int deleteOpinion(@Param(value = "id") String id);

	List<Opinion> list(@Param("pager") Pager<Opinion> pager);

}
